package com.soywer.rpc.common;

import java.io.Serializable;

/**
 * 功能描述：
 *
 * @author 18065916_李猛
 * @since 2021/3/9
 */
public class Product implements Serializable {

    private static final long serialVersionUID = 1110528781522069857L;
    private Integer id ;
    private String Name;

    public Product(Integer id, String name) {
        this.id = id;
        Name = name;
    }

    public Product() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", Name='" + Name + '\'' +
                '}';
    }
}
